package comparableForCustomer;

import java.util.Comparator;

import polo.Customer;

public class BirthdayComparable implements Comparator<Customer>{        //实现Comparator

	public int compare(Customer o1, Customer o2) {
		return o1.getBirthday().compareTo(o2.getBirthday());
	}
}
